﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DeviceMaintainGIS.Model.DevInfo
{
    /// <summary>
    /// 设备查询条件
    /// </summary>
    public class DevRequest
    {
        public DevRequest()
        {

            DateTime tmp = DateTime.ParseExact("19000101", "yyyyMMdd", System.Globalization.CultureInfo.CurrentCulture);
            this.PageIndex = 1;
            this.PagesSize = 20;
            selStartWarrantyTime = tmp;
            selEndWarrantyTime = tmp;
        }
        /// <summary>
        /// 当前页数
        /// </summary>
        public int PageIndex { get; set; }
        /// <summary>
        /// 当先显示多少条
        /// </summary>
        public int PagesSize { get; set; }
        /// <summary>
        /// 模糊条件
        /// </summary>
        public string Indistinct { get; set; }
        ///// <summary>
        ///// 设备名称
        ///// </summary>
        //public string DeviceName { get; set; }
        ///// <summary>
        ///// 公司序列号
        ///// </summary>
        //public string CompanySerial { get; set; }

        ///// <summary>
        ///// 公司型号规格
        ///// </summary>
        //public string CModelSize { get; set; }
        /// <summary>
        /// 质保期开始时间
        /// </summary>
        public DateTime selStartWarrantyTime { get; set; }
        /// <summary>
        /// 质保期结束时间
        /// </summary>
        public DateTime selEndWarrantyTime { get; set; }

        /// <summary>
        /// 查询类型 1项目2基站3设备
        /// </summary>
        public int Type { get; set; }
        /// <summary>
        /// 类型ID
        /// </summary>
        public string LPDId { get; set; }
    }
}
